package com.imax.center.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;

import java.util.List;

/**
 * 用户信息领域对象
 */
@Data
@ApiModel(description = "用户信息")
public class UserInfoDomain implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    @ApiModelProperty(value = "用户ID", required = true, example = "admin")
    private String userId;

    @ApiModelProperty(value = "用户姓名", required = true, example = "小张")
    private String userName;

    @ApiModelProperty(value = "部门ID", required = true, example = "1001")
    private String deptId;

    @ApiModelProperty(value = "部门名称", required = true, example = "技术部")
    private String deptName;

    @ApiModelProperty(value = "单位ID", required = true, example = "530000")
    private String unitId;

    @ApiModelProperty(value = "单位名称", required = true, example = "昆明市第一人民医院")
    private String unitName;

    @ApiModelProperty(value = "头像地址", example = "http://example.com/avatar.jpg")
    private String avatar;

    @ApiModelProperty(value = "角色列表", example = "[\"admin\", \"user\"]")
    private List<String> roles;

    @ApiModelProperty(value = "权限标识 admin=管理员 childrenOrg=下级单位", example = "admin")
    private String powerCode;
} 